package com.shigen.demo.datastruct.tree;

import lombok.ToString;

/**
 * 树的节点
 *
 * @author shigenfu
 * @date 2022/7/12 4:02 下午
 */
@ToString
public class Node {
  public int data;
  public Node leftNode;
  public Node rightNode;

  public Node(int key) {
    this.data = key;
  }
}
